package com.world.business.realm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.world.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 境界表
 * </p>
 *
 * @author 邓驴
 * @since 2023-05-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Realm对象", description = "境界表")
public class Realm extends BaseEntity {

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("角色id")
    private String roleId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("父类Id")
    private String pid;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("类别")
    private String type;

    @ApiModelProperty("排序")
    @TableField(value = "`rank`")
    private Integer rank;

}
